/* Section Header */
.section-header {
    margin-bottom: 40px;
    position: relative;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(102, 126, 234, 0.1);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-top: 25px;
    font-weight: 500;
    position: relative;
    padding-left: 20px;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
}

/* About Content */
.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
    position: relative;
    padding-left: 20px;
}

.about-content p:first-child::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
    border-radius: 3px;
}

.about-info {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%,
        rgba(248, 249, 250, 0.95) 100%);
    padding: 30px;
    border-radius: 20px;
    margin-top: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 10px 30px rgba(102, 126, 234, 0.1),
        0 20px 60px rgba(102, 126, 234, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.about-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 4px 4px 0 0;
}

.about-info p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #444;
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px;
}

.about-info p::before {
    content: '';
    position: absolute;
    left: 0;
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-info strong {
    min-width: 140px;
    color: #2c3e50;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-info .row {
    align-items: stretch;
}

/* Animation */
.about-image img {
    animation: fadeInUp 0.8s ease forwards 0.3s;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablet Devices (768px to 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .about-image {
        margin-bottom: 40px;
    }
    
    .about-image img {
        width: 250px;
        height: 250px;
    }
    
    .about-image::before {
        width: 290px;
        height: 290px;
    }
    
    .about-image::after {
        width: 270px;
        height: 270px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .about-info {
        padding: 25px;
    }
    
    .about-info p {
        flex-direction: row;
        align-items: center;
    }
    
    .about-info strong {
        min-width: 100px;
    }
}

/* Small Tablets and Large Phones (576px to 767px) */
@media (max-width: 767px) and (min-width: 576px) {
    .about-image img {
        width: 220px;
        height: 220px;
    }
    
    .about-image::before {
        width: 260px;
        height: 260px;
    }
    
    .about-image::after {
        width: 240px;
        height: 240px;
    }
    
    .section-title {
        font-size: 1.9rem;
    }
    
    .section-subtitle {
        font-size: 1.05rem;
    }
    
    .about-info p {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .about-info strong {
        min-width: auto;
        margin-bottom: 5px;
    }
}

/* Mobile Phones (Up to 575px) */
@media (max-width: 575px) {
    .about-image img {
        width: 200px;
        height: 200px;
    }
    
    .about-image::before {
        width: 240px;
        height: 240px;
    }
    
    .about-image::after {
        width: 220px;
        height: 220px;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .about-info {
        padding: 20px 15px;
    }
    
    .about-content p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .about-info p {
        font-size: 0.9rem;
        padding-left: 25px;
    }
}

/* Very Small Phones (Up to 375px) */
@media (max-width: 375px) {
    .about-image img {
        width: 180px;
        height: 180px;
    }
    
    .about-image::before {
        width: 220px;
        height: 220px;
    }
    
    .about-image::after {
        width: 200px;
        height: 200px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .about-info {
        padding: 15px 10px;
    }
}


        /* ========== NAVBAR STYLES ========== */
.main-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* Left Section: Brand & Mobile Menu */
.navbar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 5px;
}

.navbar-brand-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo i {
    font-size: 20px;
    color: white;
}

.brand-text h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.brand-text span {
    font-size: 0.85rem;
    color: #666;
    display: block;
}

/* Center Section: Desktop Navigation Menu */
.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #667eea;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Right Section: Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-icon-btn {
    background: none;
    border: none;
    color: #555;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.nav-icon-btn:hover {
    background: #f8f9fa;
    color: #667eea;
}

.nav-icon-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.hire-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hire-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    color: white;
}

/* ========== MOBILE SIDEBAR ========== */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: left 0.3s ease;
    padding-top: 80px;
    overflow-y: auto;
}

.mobile-sidebar.active {
    left: 0;
}

.mobile-sidebar-menu {
    list-style: none;
    padding: 20px;
}

.mobile-sidebar-menu li {
    margin-bottom: 10px;
}

.mobile-sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-sidebar-menu a:hover,
.mobile-sidebar-menu a.active {
    background: #f8f9fa;
    color: #667eea;
}

.mobile-sidebar-menu i {
    font-size: 1.2rem;
    width: 24px;
}

/* Overlay for mobile sidebar */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 992px) {
    /* Navbar Adjustments */
    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        display: none;
    }

    .navbar-brand-section {
        gap: 10px;
    }

    .brand-text h5 {
        font-size: 1rem;
    }

    .brand-text span {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    /* Navbar */
    .navbar-container {
        height: 60px;
    }

    .nav-actions {
        gap: 10px;
    }

    .nav-icon-text {
        display: none;
    }

    .hire-btn {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    /* Navbar */
    .brand-text h5 {
        font-size: 0.9rem;
    }

    .brand-text span {
        display: none;
    }
}

@media (max-width: 400px) {
    .mobile-sidebar {
        width: 250px;
    }

    .nav-actions {
        gap: 5px;
    }

    .hire-btn {
        padding: 5px 12px;
        font-size: 0.85rem;
    }
}

/* Hero Section Buttons */
.hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: nowrap;
}

.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hero-buttons .btn-light {
    background: white;
    color: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-buttons .btn-light:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.hero-buttons .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: white;
    background: transparent;
}

.hero-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 14px 25px;
        font-size: 1rem;
    }
    
    .hero-buttons .me-3 {
        margin-right: 0 !important;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        max-width: 100%;
    }
    
    .hero-buttons .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

        /* Hero Section */


        .hero-section {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 120px 0 80px;
            position: relative;
            overflow: hidden;
        }
        
        .hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
            background-size: cover;
            background-position: center;
        }
        
        .hero-content {
            position: relative;
            z-index: 1;
        }
        
        .hero-title {
            font-size: 3.5rem;
            font-weight: 800;
            margin-bottom: 20px;
            background: linear-gradient(90deg, #fff, #f0f0f0);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .hero-subtitle {
            font-size: 1.5rem;
            margin-bottom: 30px;
            color: rgba(255, 255, 255, 0.9);
        }
        
        .hero-stats {
            display: flex;
            gap: 40px;
            margin-top: 40px;
        }
        
        .stat-item {
            text-align: center;
        }
        
        .stat-number {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 5px;
        }
        
        .stat-label {
            font-size: 0.9rem;
            opacity: 0.8;
        }
        
        /* Skills Section */
        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }
        
        .skill-card {
            background: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .skill-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        }
        
        .skill-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
        }
        
        .skill-icon i {
            font-size: 28px;
            color: white;
        }
        
        .skill-name {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 10px;
        }
        
        .skill-level {
            height: 6px;
            background: #e9ecef;
            border-radius: 3px;
            margin-bottom: 15px;
            overflow: hidden;
        }
        
        .skill-level-bar {
            height: 100%;
            background: linear-gradient(90deg, #667eea, #764ba2);
            border-radius: 3px;
        }
        
        /* Projects Section */
        .project-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }
        
        .project-card:hover {
            transform: translateY(-5px);
        }
        
        .project-image {
            height: 200px;
            overflow: hidden;
        }
        
        .project-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }
        
        .project-card:hover .project-image img {
            transform: scale(1.1);
        }
        
        .project-content {
            padding: 25px;
        }
        
        .project-title {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 10px;
        }
        
        .project-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 15px;
        }
        
        .project-tag {
            background: #f8f9fa;
            color: #667eea;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
        }
        
        /* Experience Timeline */
        .timeline {
            position: relative;
            padding-left: 30px;
        }
        
        .timeline::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 2px;
            background: linear-gradient(180deg, #667eea, #764ba2);
        }
        
        .timeline-item {
            position: relative;
            margin-bottom: 40px;
        }
        
        .timeline-item::before {
            content: '';
            position: absolute;
            left: -36px;
            top: 5px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #667eea;
            border: 3px solid white;
            box-shadow: 0 0 0 3px #667eea;
        }
        
        .timeline-date {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
            display: inline-block;
            margin-bottom: 10px;
        }
        
        /* Contact Form */
        .contact-form {
            background: white;
            border-radius: 15px;
            padding: 40px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .form-control {
            border: 2px solid #e9ecef;
            padding: 12px 15px;
            border-radius: 8px;
            transition: all 0.3s ease;
        }
        
        .form-control:focus {
            border-color: #667eea;
            box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
        }
        
        /* Responsive Design */
        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.5rem;
            }
            
            .hero-subtitle {
                font-size: 1.2rem;
            }
            
            .hero-stats {
                flex-direction: column;
                gap: 20px;
            }
            
            .contact-form {
                padding: 25px;
            }
        }
        
        @media (max-width: 576px) {
            .hero-title {
                font-size: 2rem;
            }
            
            .hero-subtitle {
                font-size: 1rem;
            }
        }